package com.briup.estore.Service;

import com.briup.estore.mapper.AddressMapper;
import com.briup.estore.vo.AddressVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AddressService {
    @Autowired
    private AddressMapper addressMapper;
    public List<AddressVO> list(String userId) {
        List<AddressVO> addressVOS =addressMapper.list(userId);

        return  addressVOS;

    }
}
